<template>
	<view class="pd15 ">
		<view class="autoX father" v-if="list.length > 0">
			<table>
				<thead>
					<tr>
						<slot name="thead"></slot>
					</tr>
				</thead>
				<tbody>
					<slot name="tbody"></slot>
				</tbody>
			</table>
		</view>
		
		<empty :list="list"></empty>
		
	</view>
</template>

<script>
	export default {
		name:"tables" ,
		props:{
			list : {
				default : function(e){
					return [] ;
				}
			},
		}
	}
</script>
